<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Template extends Model
{
    use HasFactory;

    protected $table = 'template';

    protected $fillable = [
        'name',
        'is_home',
        'content',
        'data',
    ];

    protected $casts = [
        'data' => 'array',
    ];
}
